const int ledPin = 13;
enum tSens {HI=0, RR=2, MR=3, ML=4, LL=5};

const int speed = 150;

void setup() {
  pinMode(ledPin, OUTPUT);
  motorSetup();
  
  blink(3);
}

void loop() {
  forward(speed);
  sens();
}

void set(byte pin, byte value){
 digitalWrite(pin, value); 
}

void blink(int a) {
  for(int i=0;i<a;i++){ 
    set(ledPin, HIGH);   // set the LED on
    delay(100);              // wait for a second
    set(ledPin, LOW);    // set the LED off
    delay(350);              // wait for a second 
  }
}

